#pragma once

#include "DestructionOccurrenceSpecification.h"


namespace uml {

DestructionOccurrenceSpecification::DestructionOccurrenceSpecification(const QString& umlType)
    : MessageOccurrenceSpecification(umlType) {}

void DestructionOccurrenceSpecification::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    MessageOccurrenceSpecification::fromJson(json, errorList);
}

void DestructionOccurrenceSpecification::toJson(QJsonObject& json) {
    MessageOccurrenceSpecification::toJson(json);
}

} // namespace uml
